function toString(o) {
	var r = "{";
	for (var e in o) {
		r += e + ":";
		var v = o[e];
		if (v)
		if (typeof(v) === "object") {
			r += toString(v);
		} else {
			r += v;
		}
		r += ",";
	}
	return r + "}";
}


var o1 = {
	1 : "one",
	2 : {
		3 : "three",
		4 : "four"
	}
};
assert.equals("{1:one,2:{3:three,4:four,},}", toString(o1));

var o2 =  {
	cont:new Continuation(),
	model:{
		meta:{view:"a.jsp"},
		data:{name:"mhc",age:28}
	}
};
assert.equals("{cont:[object Continuation],model:{data:{age:28,name:mhc,},meta:{view:a.jsp,},},}", toString(o2));
               





